#include "../solution/intersectMap.cpp"
// #include "../solution/intersectMap2.cpp"

int main(){
	int nums1[] = {1,2,2,1,3,4,5,4,4};
	int nums2[] = {2,2,1,4,4,4};
	// 数组转 vector
	vector<int> vec1(nums1, nums1 + sizeof(nums1) / sizeof(int));
	vector<int> vec2(nums2, nums2 + sizeof(nums2) / sizeof(int));
	vector<int> res = Intersect().intersection(vec1, vec2);
	for(int i = 0; i < res.size(); ++i){
		cout << res[i] << "\t";
	}
	cout << endl;

}
